﻿using Aop.Api;
using Vin.Tool.Attributes;

namespace Vin.Extension.Framework.Alipay.Options;

[Option("VinAlipay")]
public class VinAlipayConfig : AlipayConfig
{
    // /// <summary>
    // /// 支付宝支付通知地址
    // /// </summary>
    // public string? TradeNotifyUrl { get; set; }
    /// <summary>
    /// 支付宝通知地址
    /// </summary>
    public VinAlipayNotifyConfig? Notify { get; set; }
}

[Option("VinAlipay:Notify")]
public class VinAlipayNotifyConfig
{
    /// <summary>
    /// 支付宝支付通知地址
    /// </summary>
    public string? Trade { get; set; }
}